/*
 * @Author: rxn 1003312535@qq.com
 * @Date: 2023-09-21 10:05:44
 * @LastEditors: rxn 1003312535@qq.com
 * @LastEditTime: 2024-06-20 14:04:04
 * @FilePath: \vue3-progect\src\router\modules\baseRoutes\index.ts
 * @Description: 基本路由
 */
import { PageEnum } from "@/enums/pageEnum";
import { t } from "@/utils/commonFun";

export default [
	// 根路径
	{
		path: "/",
		name: "Root",
		meta: { icon: "edit" },
		redirect: PageEnum.BASE_HOME
	},
	//登录
	{
		path: "/login",
		name: "Login",
		component: () => import("@/views/sys/login/Login.vue"),
		meta: {
			title: t("routes.basic.login"),
			hiddenTab: true
		}
	}
];
